﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ListNews0101.ascx.cs"
    Inherits="SEVN.Web.Framework.Modules.News.ListNews0101" %>
<link href="../../Styles/ListNews0101.css" rel="stylesheet" type="text/css" />
<div id="ListNews0101">
    <asp:Repeater ID="rptListNews" runat="server">
        <ItemTemplate>
            <div id="info-news">
                <div id="img-news">
                    <asp:ImageButton ID="imgNews" PostBackUrl='<%#"~/News.aspx?id="+Eval("NewsID") %>'
                        ImageUrl='<%#Eval("Image") %>' runat="server"/>
                </div>
              <a href='News.aspx?nid=<%#Eval("NewsID") %>' title='<%#Eval("Title") %>'>
                    <%#Eval("Title")%></a>
                <asp:Image ID="imgNew" runat="server" Visible='<%#Eval("IsNew") %>' Width="33px"
                    Height="16px" BorderStyle="None" ImageUrl="../../Images/Design/new-icon.gif" /><br />
                <asp:Label ID="lblPublishDate" runat="server" Text='<%#"Đăng ngày: "+Convert.ToDateTime(Eval("PostDate").ToString ()).ToString("dd/MM/yyyy hh:mm tt")%>'
                    CssClass="lable-date"></asp:Label><br />
                <asp:Label ID="lblSubTitle" runat="server" Text='<%#Eval("SubTitle") %>'> </asp:Label>
            </div>
        </ItemTemplate>
    </asp:Repeater>
    <div id="paging">
    </div>
</div>
